<legend class='hyc-legend'>
    <span>账号设备绑定列表</span>
</legend>
<div class="row">
    <div class="col-md-1 text-right top7">手机号</div>
    <div class="col-md-2">
        <div class="form-group">
            <input type="text" class="input form-control hyc-color" ng-model="query.phone" placeholder="请输入手机号"/>
        </div>
    </div>
    <div class="col-md-9 text-center">
        <div class="btn btn-default btn-sm btn-warning" ng-click="loadData('query')">查询</div>&nbsp;&nbsp;&nbsp;
        <div class="btn btn-default btn-sm" ng-click="clearQuery()">重置</div>&nbsp;&nbsp;&nbsp;
    </div>
</div>
<table class="table table-bordered" style="margin-top: 20px;">
    <tr>
        <th class="text-center">姓名</th>
        <th class="text-center">手机号</th>
        <th class="text-center">终端类型</th>
        <th class="text-center">设备类型</th>
        <th class="text-center">设备识别码</th>
        <th class="text-center">绑定状态</th>
        <th class="text-center">绑定时间</th>
        <th class="text-center">操作</th>
    </tr>
    <tr ng-repeat="item in deviceList track by $index" ng-if="deviceList.length > 0">
        <td class="text-center">{{item.userName}}</td>
        <td class="text-center">{{item.phone}}</td>
        <td class="text-center">{{item.clientType}}</td>
        <td class="text-center">{{item.deviceType}}</td>
        <td class="text-center">{{item.uuid}}</td>
        <td class="text-center">{{item.bindStatusText}}</td>
        <td class="text-center">{{item.createTime}}</td>
        <td class="text-center">
            <a href="javascript:;" ng-show="item.bindStatus" ng-click="unbind(item.id)">解绑</a>
        </td>
    </tr>
    <tr ng-if="deviceList.length <= 0">
        <td class="text-center" colspan="8">暂无符合条件数据</td>
    </tr>
</table>
<div ng-include="pageIncludeUrl" ng-if="deviceList.length > 0"></div>